package gggameserver.compiler;

import gggameserver.testbed.GGMirroredTestBed;
import gggameserver.testbed.GGTestBedFactory;

import java.io.File;
import java.util.ArrayList;

public class GGCompiledSolution {

	private File zipFile;
	private ArrayList<String> commandline;

	private GGCompiledSolution() {}
	
	public File getZippedFile() {
		return zipFile;
	}
	
	public ArrayList<String> getCommandLine() {
		return commandline;
	}
	
	public static GGCompiledSolution compileSolutionMirror(GGTestBedFactory testbed_fac, GGSolutionData sol) {
//		GGMirroredTestBed compiling_testbed = testbed_fac.prepareMirroredTestBed("compile", sol);
//		
//		if (!compiling_testbed.isValid()) return null;
//		
//		GGCompiledSolution solution = new GGCompiledSolution();
//		solution.zipFile = compiling_testbed.m_compiledZip;
//		solution.commandline = compiling_testbed.m_commandline;
//		
//		compiling_testbed.close();
//		
//		return solution;
		return null;
	}
	
}
